package com.woniuxy.house.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import kotlin.sequences.USequencesKt;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.List;

/**
 * 帖子实体类
 * @author baobo
 * @date 2022-08-26-19:23
 */
@Data
@JsonIgnoreProperties("handler")
public class Post {
    private Integer id;

    //帖子发布时间
    private String time;
    //帖子主要信息（标题）
    private String title;
    //判断是求租还是找组
    private String sign;
    //判断是否通过审核
    private String isAcross;
    //判断帖子是否已经删除 逻辑删除
    private String isDelete;

    private String longitude;//经度
    private String latitude;//纬度

    //外键userId
    private User user;

    private PostDetail postDetail;

    private List<PostPictures> postPictures;
}
